<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>用户更新 - 绿色农业后台管理系统</title>
    <link rel="icon" href="favicon.ico" type="image/ico">
    <meta name="keywords" content="ZZMLY,后台管理系统">
    <meta name="description" content="ZZMLY是一个基于Bootstrap 的后台管理系统">
    <meta name="author" content="yinqi">
    <link th:href="@{BMS/css/bootstrap.min.css}" rel="stylesheet">
    <link th:href="@{BMS/css/materialdesignicons.min.css}" rel="stylesheet">
    <!--标签插件-->
    <link rel="stylesheet" th:href="@{BMS/js/jquery-tags-input/jquery.tagsinput.min.css}">
    <link th:href="@{BMS/css/style.min.css}" rel="stylesheet">
</head>

<body>
<div class="lyear-layout-web">
    <div class="lyear-layout-container">
        <!--页面主要内容-->
        <main class="lyear-layout-content">

            <div class="container-fluid">

                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-body">
                                <input th:value="${session.admininfor.adminName}" type="hidden">
                                <form action="PostAserupdata" method="post" class="row">
                                    <div class="form-group col-md-12">
                                        <input type="hidden" name="userId" th:value="${userInfor.getUserId()}">
                                        <label for="user_name">用户姓名</label>
                                        <input type="text" class="form-control" id="user_name" name="userName" th:value="${userInfor.getUserName()}" placeholder="请输入用户姓名" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label >类型</label>
                                        <div class="clearfix">
                                            <label class="lyear-radio radio-inline radio-primary">
                                                <input type="radio" name="userType" value="用户"><span>用户</span>
                                            </label>
                                        </div>
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label >性别</label>
                                        <div class="clearfix">
                                            <label class="lyear-radio radio-inline radio-primary">
                                                <input type="radio" name="userSex" value="男"><span>男</span>
                                            </label>
                                            <label class="lyear-radio radio-inline radio-primary">
                                                <input type="radio" name="userSex" value="女" checked><span>女</span>
                                            </label>
                                        </div>
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="user_number">用户账号</label>
                                        <input type="text" readonly="readonly" class="form-control" id="user_number" name="userNumber" th:value="${userInfor.getUserNumber()}" placeholder="请输入用户账号" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="user_passward">用户密码</label>
                                        <input type="password" readonly="readonly" class="form-control" id="user_passward" name="userPassword" th:value="${userInfor.getUserPassword()}" placeholder="请输入用户密码" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="user_phone">联系方式</label>
                                        <input type="text" readonly="readonly" class="form-control" id="user_phone" name="userPhone" th:value="${userInfor.getUserPhone()}"placeholder="请输入联系方式" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="user_address">地址</label>
                                        <input type="text" readonly="readonly" class="form-control" id="user_address" name="userAddress" th:value="${userInfor.getUserAddress()}" placeholder="请输入地址" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <input type="hidden" readonly="readonly" class="form-control" id="user_money" name="userMoney" th:value="${userInfor.getUserMoney()}" placeholder="请输入用户资金" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <button type="submit" class="btn btn-primary ajax-post" target-form="add-form">确 定</button>
                                        <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                                    </div>
                                </form>

                            </div>
                        </div>
                    </div>

                </div>

            </div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>

<script type="text/javascript" th:src="@{BMS/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{BMS/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{BMS/js/perfect-scrollbar.min.js}"></script>
<!--标签插件-->
<script th:src="@{BMS/js/jquery-tags-input/jquery.tagsinput.min.js}"></script>
<script type="text/javascript" th:src="@{BMS/js/main.min.js}"></script>
</body>
</html>